package com.cbry.easyddl.main;

import com.cbry.easyddl.gui.CsvWindow;
import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.util.NlsContexts;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;


/**
 * @author cbry
 * @version 1.0.0
 * @ClassName Right
 * @createTime 2024年05月01日 22:18:35
 */
public class Right implements Configurable {

    private CsvWindow csvWindow = new CsvWindow();
    private JComponent jComponent;

    public Right() {
        jComponent = csvWindow.getMainPanel();
    }

    @Override
    public @NlsContexts.ConfigurableName String getDisplayName() {
        return "Righte DisplayName";
    }

    @Override
    public @Nullable JComponent createComponent() {
        return jComponent;
    }

    @Override
    public boolean isModified() {
        return true;
    }

    @Override
    public void apply() throws ConfigurationException {

    }
}
